<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>新闻资讯</title>
    <style>
        html{
            background: #FFFFFF;
        }
        *{
            font-size: 14px;
            margin: 0;
            padding: 0;
            font-family: "Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, tahoma, arial, "WenQuanYi Micro Hei", Verdana, sans-serif, "\5B8B\4F53";
        }
        .cont{
            width: 100%;
        }
        .cont .title{
            padding-top: 20px;
            width: 95%;
            margin: 0 auto;
            border-bottom: 1px dotted #f2f2f2;
        }
        .cont .title .name{
            font-size: 18px;
            text-align: center;
            line-height: 35px;
        }
        .cont .title .date{
            text-align: center;
            margin-bottom: 10px;
            font-size: 10px;
        }
        .cont .title .date span{
            font-size: 12px;
            margin-right: 15px;
            color: #CCCCCC;
        }
        .cont .content{
            padding-top: 10px;
            width: 95%;
            margin: 0 auto;
        }
        .cont .content p{
            width: 100%;
            /*text-indent: 2em;*/
            margin-bottom: 10px;
            line-height: 30px;
        }
        .cont .content img{
            width: 100%;
            margin: 10px 0;
        }
        .cont .title .images img{
         width: 10%;
        }
    </style>
</head>
<body>
<div class="cont">
    <div class="title">
        <p class="name">{$data['title']}</p>
        <p class="date">发布时间：<span>{$data['uptime']}</span></p>
         <p class="date">浏览次数：<span>{$data['hit']}</span></p>
        <p class="images"><img style="width: 100%" src="__UPS__{$data['cover']}" alt=""></p>
    </div>
    <div class="content">
        {:htmlspecialchars_decode($data['content'])}
    </div>
</div>
</body>
</html>